home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Tools / Installer / Documentation / MergeIcons.doc < prev    next >
Encoding:
Text File  |  1999-10-12  |  2.3 KB  |  59 lines

  1. MergeIcons
  2.  
  3. Template: FROM,TO/A/M,WITH/K,MSS=MINSTACKSIZE/K/N,FP=FREEPOS/S,X/K/N,Y/K/N,BL=BORDERLESS/S
  4.  
  5. Replace the palette images of destination icons with the image of the 
  6. source icon(s). Modify stacksize and free position. The old icon image
  7. (plain format, no palette) or NewIcons tooltypes are not modified or
  8. deleted.
  9.  
  10. FROM: If the FROM parameter is a directory for every destination icon a source
  11. icon with the same filename from this directory is loaded. If the FROM
  12. parameter is a file this icon is used for all destination icons.
  13.  
  14. TO: A pattern to select the destination icons. To replace all images in the
  15. current directory us "?#?.info". This will not try to change the ".info" file
  16. but all other icons.
  17.  
  18. WITH: A with-file allows to use source icons that depends patterns or
  19. datatypes. A with file descripes one source icon with one line of text
  20. with the following template: CLASS/A/N,TYPE/A,FILE/A. CLASS is 0 for 
  21. pattern matching, and 1 for datatype examination. TYPE is a pattern
  22. (if CLASS is 0) or a datatype descriptor (if CLASS is 1). FILE is the
  23. full path of the source icon (without .info suffix).
  24.  
  25. Example:
  26.  
  27. 1  ILBM              SYS:Storage/Icons/iffpic
  28. 1  JPEG              SYS:Storage/Icons/jpegpic
  29. 0  #?.iff            SYS:Storage/Icons/iff
  30. 0  #?                SYS:Storage/Icons/blank
  31.  
  32. Note: The with-file only works for icons that has a file attached. It does
  33. not work for icons without an attached file (for example a project icon to
  34. start an application per default-tool).
  35.  
  36. MINSTACKSIZE: Set the stack size of the icon to at least this value.
  37.  
  38. FREEPOS: Free the position of the icon.
  39.  
  40. X: Set the X position of the icons to this value.
  41.  
  42. Y: Set the Y position of the icons to this value.
  43.  
  44. BORDERLESS: Make the icons borderless.
  45.  
  46. Note: A destination file that is not an icon is not an error. If the icon
  47. can not be loaded (source or destination) MergeIcons continues with the
  48. next destination icon.
  49.  
  50. Note: MergeIcons does only merge icons: the image of a source icon is
  51. written to a destination icon. It is not able to create new icons
  52. for files without an icon.
  53.  
  54. Note: To workaround buggy file systems which do not allow changing files
  55. while scanning a directory all filenames are now put into a list and
  56. handled after scanning is done. This may need a lot of memory for scanning
  57. large drives from the root.
  58.  
  59.